package com.sc.common.service.impl;

import com.sc.common.mapper.TeacherMapper;
import com.sc.common.pojo.Teacher;
import com.sc.common.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("ts")
public class TeacherServiceImpl implements TeacherService {
    @Autowired
    TeacherMapper mapper;

    @Override
    public Teacher selectByUsername(String username) {
        return mapper.selectByUsername(username);
    }
}
